Java 8 in Action: Lambdas, streams, and functional-style programming by Raoul-Gabriel Urma Mario Fusco Alan Mycroft
Author:Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft
Language: eng
Format: epub
Publisher: Manning Publications
Figure 8.3 illustrates the chain of responsibility pattern in UML.
Figure 8.3. The chain of responsibility design pattern
Here you may recognize the template method design pattern, which we discussed in section 8.2.2. The method handle provides an outline of how to deal with a piece of work. Different kinds of processing objects can be created by subclassing the class ProcessingObject and by providing an implementation for the method handleWork.
Let’s look at example of how to use this pattern. You can create two processing objects doing some text processing:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(22029)
Hello! Python by Anthony Briggs(21232)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(19752)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(18915)
Kotlin in Action by Dmitry Jemerov(18788)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(18439)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(17287)
Grails in Action by Glen Smith Peter Ledbrook(16425)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(14023)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(10769)
Windows APT Warfare by Sheng-Hao Ma(7845)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(7556)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(7463)
Solidity Programming Essentials by Ritesh Modi(4579)
Functional Programming in JavaScript by Mantyla Dan(4498)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4441)
WordPress Plugin Development Cookbook by Yannick Lefebvre(4404)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(4271)
The Ultimate iOS Interview Playbook by Avi Tsadok(4262)